using UnityEngine;
using System;
using System.IO;
using System.Collections.Generic;
using WFTools;

[Serializable]
public class Formation 
{ 
	/// <summary>
	///ID
	/// <summary>

	public readonly int ID;
	/// <summary>
	///Path
	/// <summary>

	public readonly List<PathPoint> Path;
	public Formation(List<string> datas)
{	
		int value = 0;
		ID = int.Parse(datas[0]);
		Path = TableDataMgr.Instance.ConvertTypeList<PathPoint>(datas[2],'\n',',',s => new PathPoint(s));
	}
} 
